package com.example.demo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel("消息实体类")
public class News {
    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "发布消息用户id")
    private String userId;
    @ApiModelProperty(value = "接收消息的用户id")
    private String reUserId;
    @ApiModelProperty(value = "消息类型")
    private Integer newsType;
    @ApiModelProperty(value = "消息标题")
    private String newsTitle;
    @ApiModelProperty(value = "消息内容")
    private String newsContent;
    @ApiModelProperty(value = "消息是否查看")
    private Integer isWatch;
    @ApiModelProperty(value = "是否删除")
    private Integer isDelete;
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getReUserId() {
        return reUserId;
    }

    public void setReUserId(String reUserId) {
        this.reUserId = reUserId;
    }

    public Integer getNewsType() {
        return newsType;
    }

    public void setNewsType(Integer newsType) {
        this.newsType = newsType;
    }

    public String getNewsTile() {
        return newsTitle;
    }

    public void setNewsTile(String newsTile) {
        this.newsTitle = newsTile;
    }

    public String getNewsContent() {
        return newsContent;
    }

    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent;
    }

    public Integer getIsWatch() {
        return isWatch;
    }

    public void setIsWatch(Integer isWatch) {
        this.isWatch = isWatch;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }
}
